<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="margin-top: 50px;">
        <span>我是第最后一个页面</span>
        <button onclick="back()">返回上一个页面</button>
    </div>
    <script>
        function back() {
            window.history.back();
        }
    </script>
</body>
</html>